package com.example.leetcode.backtrace;

import com.example.leetcode.backtrace.common.BackTraceUtils;

class Solution6423 {
    public int sumOfPower(int[] nums) {
        return BackTraceUtils.sumOfPower(nums);
    }
}

public class leetcode6423 {
    public static void main(String[] args) {
        Solution6423 solution6423 = new Solution6423();
        int[] nums = {2, 1, 4};
        int[] nums1 = {1, 1, 1};
        System.out.println(solution6423.sumOfPower(nums));
        System.out.println(solution6423.sumOfPower(nums1));
    }
}
